<?php

namespace app\index\controller;

use app\common\controller\Frontend;
use app\admin\model\Teachers as Teacher;

class Teachers extends Frontend
{

    protected $model = '';
    protected $noNeedLogin = '*';
    protected $noNeedRight = '*';
    protected $layout = '';

    public function _initialize()
    {
        parent::_initialize();
        $this->model = new Teacher();
    }

    public function index()
    {
        return $this->view->fetch('teachers/index');
    }


}
